<dir>
  <%=link_to 'New Album', :action=>'new'%>
</dir>

<table>
  <tr>
    <th class="title">title</th><th class="date">date</th><th class="site">site</th>
    <th class="show">show</th><th class="edit"></th><th class="delete"></th>
    <%
    @pages.each do |page|
    %>
    <tr>
      <td><%=h "#{page.title}"%></td>
      <td class="date"><%=h "#{page.created_at.strftime('%Y/%m/%d %H:%M')}"%></td>
      <td><%=h "#{page.site}"%></td>
      <td class="show"><%=link_to 'Show', :action => 'show', :id => page%></td>
      <td class="edit"><%=link_to 'Edit', :action => 'edit', :id => page%></td>
      <td class="delete"><%=link_to 'Delete', :action => 'delete', :id => page%></td>
    </tr>
    <%
    end
    %>
  </tr>
</table>